package com.woniuxy.serive.impl;

import com.woniuxy.dao.RbacRoleDao;
import com.woniuxy.entity.RbacManager;
import com.woniuxy.entity.RbacRole;
import com.woniuxy.serive.RbacRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RbacRoleServiceImpl implements RbacRoleService {
    @Autowired
    RbacRoleDao rbacRoleDao;

    @Override
    public List<RbacRole> findAll(RbacManager rbacManager) {
        return rbacRoleDao.findAll(rbacManager);
    }
}
